﻿<%@ WebHandler Language="C#" Class="ValidateCodeHandler" %>
using System;
using System.Web;
using ValidateCode;
public class ValidateCodeHandler : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
        validateCode vc = new validateCode(context);
        string code = vc.GetCode(4);
        vc.CreateValidateImage(code, 95, 35);
    }
 
    public bool IsReusable {
        get {
            return false;
        }
    }

}